package ${package.Entity}.param;

import ${package.Entity}.${entity};
<#list table.importPackages as pkg>
import ${pkg};
</#list>
import com.hoshiibuy.common.query.CommonParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.StringUtils;
import lombok.EqualsAndHashCode;
/**
* <p>
* 查询${table.comment!}参数
* </p>
* @author ${author}
* @since ${date}
*/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="查询${table.comment}", description="查询${table.comment!}")
public class ${entity}QueryParam extends CommonParam {


<#-- ----------  BEGIN 字段循环遍历  ---------->
<#list table.fields as field>    
    <#if field.propertyName=='updatedtime'||field.propertyName=='createdby'||field.propertyName=='createdtime'||field.propertyName=='updateby'||field.propertyName=='modifiedby'||field.propertyName=='modifiedtime'>
    <#else>
    <#if field.comment!?length gt 0>
        <#if swagger2>
    @ApiModelProperty(value = "${field.comment}")
        <#else>
    /**
     * ${field.comment}
     */
        </#if>
    </#if>
    private ${field.propertyType} ${field.propertyName};
    </#if>
</#list>
}
